﻿using Lis.DTO;
using Lis.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lis.IBLL
{
    public interface IBorrowBookService
    {
        /// <summary>
        /// 图书借阅
        /// </summary>
        /// <param name="Borrow"></param>
        /// <returns></returns>
        ServiceResult<string> BorrowBookByBarCode(BorrowBookDto Borrow);

        /// <summary>
        /// 图书续借
        /// </summary>
        /// <param name="Borrow"></param>
        /// <returns></returns>
        ServiceResult<string> ReNewBookByBarCode(BorrowBookDto Borrow);

        /// <summary>
        /// 图书转接
        /// </summary>
        /// <param name="Borrow"></param>
        /// <returns></returns>
        ServiceResult<string> LendBookByBarCode(BorrowBookDto Borrow);
    }
}
